<!DOCTYPE html>
<html lang="hi">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="X-Ua-Compatible" content="IE=Edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  <title>药师咒教念</title>
  <meta name="description" content="sanskrit,药师咒梵文">
  <meta name="keywords" content="sanskrit,药师咒梵文">
  <meta property="og:image" content="img/favicon.png">
  <link rel="icon" type="image/png" href="img/favicon.png">
  <link rel="stylesheet" href="script/sanskrit.css?v=1214">
  <link rel="stylesheet" href="script/audio.css?v=1214">
  <style>
    .word span.sp { display: inline !important; margin: 0; }
    .title { text-align: center; margin-bottom: .3em; }
    .tip { font-size: 11px; margin-bottom: .3em; }
  </style>
</head>
<body class="show-odd show-deva show-iast show-audio auto-audio">
<div id="top-bar">
  <span class="home" onclick="location.href='./'" title="Home"><img src="img/favicon.png" alt="Home"></span>
  <span onclick="biggerFont()">+</span>
  <span onclick="smallerFont()">-</span>
  <span data-toggle="show-odd">音节</span>
  <span data-toggle="show-deva">天城体</span>
  <span data-toggle="show-iast">转写</span>
  <span data-toggle="show-audio">读音</span>
  <span data-toggle="auto-audio">连读</span>
</div>
<div class="tip no-print">注：如在“微信”中连读播放会3秒内停止，可点击继续播放，或点击右上角…按钮“在浏览器中打开”本页面。开始播放后再次点击会停止。</div>
<div class="title no-print">药师咒<br><small>印度梵语教授穆克纪诵</small></div>
<div id="body"></div>
<script src="script/sanscript.es6.js?v=1216"></script>
<script src="script/sanskrit.js?v=1216"></script>
<script>
  const iastContent = `
namo▷01 bhagavate▷02 bhaiṣajya▷03 -guru▷04 - ▷500
  vaiḍūrya▷05 -prabha▷06 -rājāya▷07 tathāgatāya▷08 ▷501
  arhate▷09 samyak▷10-saṃbuddhāya▷11 | ▷502
tadyathā▷12
  oṃ▷13 bhaiṣajye▷14 bhaiṣajye▷15
  bhaiṣajya▷16-samudgate▷17 svāhā▷18 || ▷503`

  window.renderBody = function () {
    iastContent.split('\n').forEach((text, i) => renderRow(text, i, {
      audioPrefix: 'mp3/yaoshi/ys', hoverWord: false, sentenceAudio: true}))
  }
  renderBody()
</script>
</body>
</html>